/*
 * @Description: 
 * @version: 
 * @Author: wind.wang
 * @Date: 2024-02-03 14:18:45
 * @LastEditors: wind.wang
 * @LastEditTime: 2024-02-03 16:53:18
 */
import path from 'path'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    vue(),
  ],
  resolve: {
    alias: {
      // 设置路径
      '~': path.resolve(__dirname, './'),
      // 设置别名
      '@': path.resolve(__dirname, './src')
    },
    extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue']
  }
})
